package dao;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public class EMF {

    private transient static EntityManagerFactory emf = Persistence.createEntityManagerFactory("BrunaPU");

    private EMF() {
    }

    public static EntityManagerFactory get() {
        return emf;
    }

    public Object getTransaction() {
        return emf;
    }
}
